package com.xy.service.impl;

import com.xy.properties.EmsServerProperties;
import com.xy.service.UserInfoApi;
import lombok.extern.slf4j.Slf4j;

/**
 * @author xxy
 * @date 2022/1/6 14:42
 */
@Slf4j
public class UserInfoApiImpl implements UserInfoApi {

    private final EmsServerProperties emsServerProperties;

    public UserInfoApiImpl(EmsServerProperties emsServerProperties) {
        this.emsServerProperties = emsServerProperties;
    }


    @Override
    public void setConfig() {
        String host = emsServerProperties.getHost();
        String url = emsServerProperties.getUrl();
        log.info("ems-server...");
        log.info("host: {}", host);
        log.info("url: {}", url);
    }
}
